package com.dragon.modules.yuegou.client.wechat_mini.model;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * Value Wrapper
 * 
 * @author liuwu
 *
 */
@SuppressWarnings("serial")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ValueWrapper implements Serializable {

	/**
	 * 值
	 */
	private final String value;

	@JsonCreator
	public ValueWrapper(@JsonProperty("value") String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	@Override
	public String toString() {
		return String.format("ValueWrapper [value=%s]", value);
	}

}
